From df2d9ebd1d084d9e7eb6ee2d0934a9b1c46173a3 Mon Sep 17 00:00:00 2001 From: "tsteven4@gmail.com" Date: Sat, 15 Mar 2014 17:58:55 +0000 Subject: [PATCH] don't use options from a previous filter when the new filter has no options. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4780 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/filter_vecs.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpsbabel/filter_vecs.cc b/gpsbabel/filter_vecs.cc index fc60503bc..a2709847b 100644 --- a/gpsbabel/filter_vecs.cc +++ b/gpsbabel/filter_vecs.cc @@ -209,6 +209,8 @@ find_filter_vec(char* const vecname, char** opts) } } } + } else { + *opts = NULL; } if (opts && opts[0] && !found) { warning("'%s' is an unknown option to %s.\n", *opts, vec->name); -- 2.30.2